package com.aggregate.pay.swiftpass.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * 【威富通】付款码支付API-响应参数
 * @author Moyq5
 * @date 2019年12月20日
 */
@JacksonXmlRootElement(localName = "xml")
public class MicropayResult extends AbstractResult {

	@JacksonXmlProperty(localName = "need_query")
	private String needQuery;
	
	@JacksonXmlProperty(localName = "result_code")
	private Integer resultCode;
	@JacksonXmlProperty(localName = "mch_id")
	private String mchId;
	@JacksonXmlProperty(localName = "device_info")
	private String deviceInfo;
	@JacksonXmlProperty(localName = "nonce_str")
	private String nonceStr;
	@JacksonXmlProperty(localName = "err_code")
	private String errCode;
	@JacksonXmlProperty(localName = "err_msg")
	private String errMsg;
	@JacksonXmlProperty(localName = "sign")
	private String sign;
	
	@JacksonXmlProperty(localName = "trade_type")
	private String tradeType;
	@JacksonXmlProperty(localName = "pay_result")
	private Integer payResult;
	@JacksonXmlProperty(localName = "pay_info")
	private String payInfo;
	@JacksonXmlProperty(localName = "transaction_id")
	private String transactionId;
	@JacksonXmlProperty(localName = "out_transaction_id")
	private String outTransactionId;
	@JacksonXmlProperty(localName = "third_order_no")
	private String thirdOrderNo;
	@JacksonXmlProperty(localName = "out_trade_no")
	private String outTradeNo;
	@JacksonXmlProperty(localName = "total_fee")
	private Integer totalFee;
	@JacksonXmlProperty(localName = "time_end")
	private String timeEnd;
	public String getNeedQuery() {
		return needQuery;
	}
	public void setNeedQuery(String needQuery) {
		this.needQuery = needQuery;
	}
	public Integer getResultCode() {
		return resultCode;
	}
	public void setResultCode(Integer resultCode) {
		this.resultCode = resultCode;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getNonceStr() {
		return nonceStr;
	}
	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getTradeType() {
		return tradeType;
	}
	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}
	public Integer getPayResult() {
		return payResult;
	}
	public void setPayResult(Integer payResult) {
		this.payResult = payResult;
	}
	public String getPayInfo() {
		return payInfo;
	}
	public void setPayInfo(String payInfo) {
		this.payInfo = payInfo;
	}
	public String getTransactionId() {
		return transactionId;
	}
	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
	public String getOutTransactionId() {
		return outTransactionId;
	}
	public void setOutTransactionId(String outTransactionId) {
		this.outTransactionId = outTransactionId;
	}
	public String getThirdOrderNo() {
		return thirdOrderNo;
	}
	public void setThirdOrderNo(String thirdOrderNo) {
		this.thirdOrderNo = thirdOrderNo;
	}
	public String getOutTradeNo() {
		return outTradeNo;
	}
	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}
	public Integer getTotalFee() {
		return totalFee;
	}
	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}
	public String getTimeEnd() {
		return timeEnd;
	}
	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}
	@Override
	public String toString() {
		return "MicropayResult [needQuery=" + needQuery + ", resultCode=" + resultCode + ", mchId=" + mchId
				+ ", deviceInfo=" + deviceInfo + ", nonceStr=" + nonceStr + ", errCode=" + errCode + ", errMsg="
				+ errMsg + ", sign=" + sign + ", tradeType=" + tradeType + ", payResult=" + payResult + ", payInfo="
				+ payInfo + ", transactionId=" + transactionId + ", outTransactionId=" + outTransactionId
				+ ", thirdOrderNo=" + thirdOrderNo + ", outTradeNo=" + outTradeNo + ", totalFee=" + totalFee
				+ ", timeEnd=" + timeEnd + ", toString()=" + super.toString() + "]";
	}
	
}
